package com.hnevc.xiewenguang;



public class Example02 {
    public static void main(String[] args) {
        Myrunnble myrunnble= new Myrunnble();
        Thread thread = new Thread();
        thread.start();
        while (true){
            System.out.println("干扰！！！");
        }
    }
}
class Myrunnble implements  Runnable{

    @Override
    public void run() {
        while (true){
            System.out.println("Runnble方式开启线程！！！");
        }
    }
}
